package com.hais1992.oneday.entity;

import java.io.Serializable;

/**
 * 实体类，用于存放文章数据的对象
 * 
 * @author Cafee
 * @date 2014-4-5
 */
public class Article implements Serializable {
	
	private static final long serialVersionUID = 7998537742747948212L;
	
	private long id; // 文章ID
	private String title; // 文章标题
	private Type typeId; // 文章分类Id
	private String insertTime; // 发布时间
	private String source; // 来源
	private String content; // 文章内容
	private User userId; // 用户ID
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Type getTypeId() {
		return typeId;
	}
	public void setTypeId(Type typeId) {
		this.typeId = typeId;
	}
	public String getInsertTime() {
		return insertTime;
	}
	public void setInsertTime(String insertTime) {
		this.insertTime = insertTime;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public User getUserId() {
		return userId;
	}
	public void setUserId(User userId) {
		this.userId = userId;
	}
	

	
}
